package com.ws.ssmzongjie3.mapper;

import com.ws.ssmzongjie3.bean.Route_Map;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface Route_MapMapper {
    @Insert("insert into route_map(route_id,route_img_url,route_map_order,create_time) values(#{route_id},#{route_img_url},#{route_map_order},now())")
    public int insertRoute_Map(Route_Map route_map);
    @Delete("delete from route_map where route_map_id=#{route_map_id}")
    public int deleteRoute_Map(Route_Map route_map);
    @Select("select * from route_map where route_map_id=#{route_map_id}")
    public Route_Map getRoute_MapById(Route_Map route_map);
    public void updateRoute_Map(Route_Map route_map);
    public List<Route_Map> listRoute_Map(Route_Map route_map);
}
